package com.firstgroup.dms.service;

import com.firstgroup.dms.common.Result;
import com.firstgroup.dms.pojo.Employee;
import java.util.List;
import java.util.Map;

public interface EmployeeService {

    List<Employee> getAllEmployees();

    Result<Employee> getById(Integer id);

    Result<Object> add(Employee employee);

    Result<Object> update(Employee employee);

    Result<Object> deleteById(Integer id);

    Result<Map<String, Object>> getList(Employee condition, Integer page, Integer limit);
}
